home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 2.0 Beta / Quicktime 2.0 Beta.iso / Programming Stuff / Interfaces / Universal Interfaces / Desk.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-01-30  |  1.5 KB  |  71 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        Desk.h
  3.  
  4.     Copyright:    © 1984-1993 by Apple Computer, Inc., all rights reserved.
  5.  
  6.     WARNING
  7.     This file was auto generated by the interfacer tool. Modifications
  8.     must be made to the master file.
  9.  
  10. */
  11.  
  12. #ifndef __DESK__
  13. #define __DESK__
  14.  
  15. #ifndef __TYPES__
  16. #include <Types.h>
  17. /*    #include <ConditionalMacros.h>                                */
  18. /*    #include <MixedMode.h>                                        */
  19. /*        #include <Traps.h>                                        */
  20. #endif
  21.  
  22. #ifndef __QUICKDRAW__
  23. #include <Quickdraw.h>
  24. /*    #include <QuickdrawText.h>                                    */
  25. /*        #include <IntlResources.h>                                */
  26. #endif
  27.  
  28. #ifndef __EVENTS__
  29. #include <Events.h>
  30. /*    #include <OSUtils.h>                                        */
  31. #endif
  32.  
  33. enum  {
  34.     accEvent                    = 64,
  35.     accRun                        = 65,
  36.     accCursor                    = 66,
  37.     accMenu                        = 67,
  38.     accUndo                        = 68,
  39.     accCut                        = 70,
  40.     accCopy                        = 71,
  41.     accPaste                    = 72,
  42.     accClear                    = 73,
  43.     goodbye                        = -1                            /*goodbye message*/
  44. };
  45.  
  46. #ifdef __cplusplus
  47. extern "C" {
  48. #endif
  49.  
  50. extern pascal short OpenDeskAcc(ConstStr255Param deskAccName)
  51.  ONEWORDINLINE(0xA9B6);
  52. extern pascal void CloseDeskAcc(short refNum)
  53.  ONEWORDINLINE(0xA9B7);
  54. extern pascal void SystemClick(const EventRecord *theEvent, WindowPtr theWindow)
  55.  ONEWORDINLINE(0xA9B3);
  56. extern pascal Boolean SystemEdit(short editCmd)
  57.  ONEWORDINLINE(0xA9C2);
  58. extern pascal void SystemTask(void)
  59.  ONEWORDINLINE(0xA9B4);
  60. extern pascal Boolean SystemEvent(const EventRecord *theEvent)
  61.  ONEWORDINLINE(0xA9B2);
  62. extern pascal void SystemMenu(long menuResult)
  63.  ONEWORDINLINE(0xA9B5);
  64. extern short opendeskacc(char *deskAccName);
  65. #ifdef __cplusplus
  66. }
  67. #endif
  68.  
  69. #endif
  70.  
  71.